export default {
    name: 'main',
    children: [{
            path: 'home',
            name: 'home',
            meta: {},
            //component: resolve => { require(['@/views/home/home.vue'], resolve); } //vue标准懒加载，不能定义ChunkName
            //component: r => require.ensure([], () => r(require('@/views/home/home.vue')), 'home') //webpackv1的方式，可以定义ChunkName
            component: () => import(/*webpackChunkName: "home"*/'@/views/home/home.vue') //ES6 懒加载，可以定义ChunkName
    }]
};
